package com.topgay.domain;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class AnswerRaw implements Serializable {
	private int no1;
	private int no2;
	private int no3;
	private int no4;
	private int no5;
	private int no6;
	private int no7;
	private int no8;
	private int no9;
	private int no10;
	private int no11;
	private int no12;
	private int no13;
	private int no14;
	private int no15;
	private int no16;
	private int no17;
	private int no18;
	private int no19;
	private int no20;
	private int no21;
	private int no22;
	private int no23;

	public AnswerRaw() {
	}
	
	
	
	
	public AnswerRaw(int no1, int no2, int no3, int no4, int no5, int no6, int no7, int no8, int no9, int no10, int no11, int no12,
			int no13, int no14, int no15, int no16, int no17, int no18, int no19, int no20, int no21, int no22, int no23) {
		super();
		this.no1 = no1;
		this.no2 = no2;
		this.no3 = no3;
		this.no4 = no4;
		this.no5 = no5;
		this.no6 = no6;
		this.no7 = no7;
		this.no8 = no8;
		this.no9 = no9;
		this.no10 = no10;
		this.no11 = no11;
		this.no12 = no12;
		this.no13 = no13;
		this.no14 = no14;
		this.no15 = no15;
		this.no16 = no16;
		this.no17 = no17;
		this.no18 = no18;
		this.no19 = no19;
		this.no20 = no20;
		this.no21 = no21;
		this.no22 = no22;
		this.no23 = no23;
	}

	public int getNo1() {
		return no1;
	}

	public void setNo1(int no1) {
		this.no1 = no1;
	}

	public int getNo2() {
		return no2;
	}

	public void setNo2(int no2) {
		this.no2 = no2;
	}

	public int getNo3() {
		return no3;
	}

	public void setNo3(int no3) {
		this.no3 = no3;
	}

	public int getNo4() {
		return no4;
	}

	public void setNo4(int no4) {
		this.no4 = no4;
	}

	public int getNo5() {
		return no5;
	}

	public void setNo5(int no5) {
		this.no5 = no5;
	}

	public int getNo6() {
		return no6;
	}

	public void setNo6(int no6) {
		this.no6 = no6;
	}

	public int getNo7() {
		return no7;
	}

	public void setNo7(int no7) {
		this.no7 = no7;
	}

	public int getNo8() {
		return no8;
	}

	public void setNo8(int no8) {
		this.no8 = no8;
	}

	public int getNo9() {
		return no9;
	}

	public void setNo9(int no9) {
		this.no9 = no9;
	}

	public int getNo10() {
		return no10;
	}

	public void setNo10(int no10) {
		this.no10 = no10;
	}

	public int getNo11() {
		return no11;
	}

	public void setNo11(int no11) {
		this.no11 = no11;
	}

	public int getNo12() {
		return no12;
	}

	public void setNo12(int no12) {
		this.no12 = no12;
	}

	public int getNo13() {
		return no13;
	}

	public void setNo13(int no13) {
		this.no13 = no13;
	}

	public int getNo14() {
		return no14;
	}

	public void setNo14(int no14) {
		this.no14 = no14;
	}

	public int getNo15() {
		return no15;
	}

	public void setNo15(int no15) {
		this.no15 = no15;
	}

	public int getNo16() {
		return no16;
	}

	public void setNo16(int no16) {
		this.no16 = no16;
	}

	public int getNo17() {
		return no17;
	}

	public void setNo17(int no17) {
		this.no17 = no17;
	}

	public int getNo18() {
		return no18;
	}

	public void setNo18(int no18) {
		this.no18 = no18;
	}

	public int getNo19() {
		return no19;
	}

	public void setNo19(int no19) {
		this.no19 = no19;
	}

	public int getNo20() {
		return no20;
	}

	public void setNo20(int no20) {
		this.no20 = no20;
	}

	public int getNo21() {
		return no21;
	}

	public void setNo21(int no21) {
		this.no21 = no21;
	}

	public int getNo22() {
		return no22;
	}

	public void setNo22(int no22) {
		this.no22 = no22;
	}

	public int getNo23() {
		return no23;
	}

	public void setNo23(int no23) {
		this.no23 = no23;
	}
	
	public List<Integer> getAnswerRawList(){
		List<Integer> list = new ArrayList<Integer>();
		list.add(no1);
		list.add(no2);
		list.add(no3);
		list.add(no4);
		list.add(no5);
		list.add(no6);
		list.add(no7);
		list.add(no8);
		list.add(no9);
		list.add(no10);
		list.add(no11);
		list.add(no12);
		list.add(no13);
		list.add(no14);
		list.add(no15);
		list.add(no16);
		list.add(no17);
		list.add(no18);
		list.add(no19);
		list.add(no20);
		list.add(no21);
		list.add(no22);
		list.add(no23);
		return list;
	}
	
	

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + no1;
		result = prime * result + no10;
		result = prime * result + no11;
		result = prime * result + no12;
		result = prime * result + no13;
		result = prime * result + no14;
		result = prime * result + no15;
		result = prime * result + no16;
		result = prime * result + no17;
		result = prime * result + no18;
		result = prime * result + no19;
		result = prime * result + no2;
		result = prime * result + no20;
		result = prime * result + no21;
		result = prime * result + no22;
		result = prime * result + no23;
		result = prime * result + no3;
		result = prime * result + no4;
		result = prime * result + no5;
		result = prime * result + no6;
		result = prime * result + no7;
		result = prime * result + no8;
		result = prime * result + no9;
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		AnswerRaw other = (AnswerRaw) obj;
		if (no1 != other.no1)
			return false;
		if (no10 != other.no10)
			return false;
		if (no11 != other.no11)
			return false;
		if (no12 != other.no12)
			return false;
		if (no13 != other.no13)
			return false;
		if (no14 != other.no14)
			return false;
		if (no15 != other.no15)
			return false;
		if (no16 != other.no16)
			return false;
		if (no17 != other.no17)
			return false;
		if (no18 != other.no18)
			return false;
		if (no19 != other.no19)
			return false;
		if (no2 != other.no2)
			return false;
		if (no20 != other.no20)
			return false;
		if (no21 != other.no21)
			return false;
		if (no22 != other.no22)
			return false;
		if (no23 != other.no23)
			return false;
		if (no3 != other.no3)
			return false;
		if (no4 != other.no4)
			return false;
		if (no5 != other.no5)
			return false;
		if (no6 != other.no6)
			return false;
		if (no7 != other.no7)
			return false;
		if (no8 != other.no8)
			return false;
		if (no9 != other.no9)
			return false;
		return true;
	}

	@Override
	public String toString() {
		return "Answer [no1=" + no1 + ", no2=" + no2 + ", no3=" + no3 + ", no4=" + no4 + ", no5=" + no5 + ", no6=" + no6
				+ ", no7=" + no7 + ", no8=" + no8 + ", no9=" + no9 + ", no10=" + no10 + ", no11=" + no11 + ", no12=" + no12
				+ ", no13=" + no13 + ", no14=" + no14 + ", no15=" + no15 + ", no16=" + no16 + ", no17=" + no17 + ", no18=" + no18
				+ ", no19=" + no19 + ", no20=" + no20 + ", no21=" + no21 + ", no22=" + no22 + ", no23=" + no23 + "]";
	}

}
